package com.example.cash.craft.dao.persist.repository;

import com.example.cash.craft.pojo.entity.RewardPointsLog;
import com.example.cash.craft.pojo.vo.PageData;
import com.example.cash.craft.pojo.vo.RewardPointsLogVO;

public interface IRewardPointsLogRepository {

    int insert(RewardPointsLog rewardPointsLog);

    int sumByUserId(Long userId);

    PageData<RewardPointsLogVO> listByUserId(Long userId, Integer page, Integer pageSize);

}
